package com.qys.livesMall.shop.modal.dto.shop.order;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @menu DirectAddOrder
 * @date 2023/11/27 10:31
 */
@Data
public class DirectAddOrder {

    @NotNull(message = "skuId不能为空")
    Long skuId;
    @NotNull(message = "数量不能为空")
    Integer num;
    @Schema(description = "主播id")
    private Long anchorId;
    @Schema(description = "任务id")
    private Long taskId;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 用户名称
     */
    private String userName;

}

